import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter_module/common/base/base_page.dart';
import 'package:flutter_module/common/widget/skeleton/content_page_skeleton.dart';

/// Create by kyluzoi
/// Date: 2021-08-16
///
/// Description: 骨架屏 demo

class SkeletonPage extends BaseStateFulWidget {
  @override
  BaseState<StatefulWidget> buildState() {
    return _SkeletonState();
  }
}

class _SkeletonState extends BaseState<SkeletonPage> with BasePage {
  @override
  Widget createView(BuildContext context) {
    return Container(
      child: ContentPageSkeleton(),
    );
  }

  @override
  get appBarTitle => "骨架屏";
}
